package com.lcfc.service.impl;

import java.util.ArrayList;
import com.lcfc.bean.Activity;
import com.lcfc.dao.UserDao;
import com.lcfc.dao.lmpl.UserDaoImpl;
import com.lcfc.service.UserService;

/**
 * 用户业务操作实现类
 * 
 * @author Samer.he
 * 
 */
public class UserServiceImpl implements UserService {

	public ArrayList<Activity> queryActivityByDistance(int distance, double lat,
			double lon) {
		
		UserDao dao = new UserDaoImpl();
		
		ArrayList<Activity> list = dao.queryActivityByDistance(distance, lat, lon); 
		
		return list;
	}

}
